package cn.jark.example.web.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

/**
 * @author 雨一直夏灬(须知少年凌云志, 曾许人间第一流)
 * @since 2020-10-29
 */
@Data
@AllArgsConstructor
@Document(indexName = "user")
public class User {

    private String name;

    private int age;

}
